<?
session_start();
$message = "unset";
if ($_SESSION['login'] == 1) {
	$message = "Already logged in";
} else {
	$message = "Not logged in";
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<h1>Woodstock mailing login status: <? echo $message;?></h1>
<form name="login" method="post" action="_mailing_login.php">
	<ul>
		<li>ID: <input type="text" name="id" /></li>
		<li>Password: <input type="password" name="pw" /></li>
		<li><input type="submit" name="login" /></li>
	</ul>
</form>
</body>
</html>
